package com.pylc.model.dao;

import com.pylc.model.entity.GoodsCategory;

import java.util.Set;

/**
 * @author Lindsey
 */
public interface GoodsCategoryDao extends BaseDao<GoodsCategory, Long> {
    public Set<GoodsCategory> getRoot();

    public Set<GoodsCategory> getChildren(GoodsCategory Category);

    public boolean isNameUnique(String name);
}
